package com.mt.roll.report.vo;


import cn.afterturn.easypoi.excel.annotation.Excel;
import com.mt.roll.core.base.BaseVo;
import com.mt.roll.core.vo.PageVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * @Author: yulianchen
 * @Date: 2022/3/3 15:35
 * @Version 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Builder
@ApiModel(value = "当前库存存储箱报表", description = "用于查询存储箱和库位信息")
public class ReportStorageBoxVo extends BaseVo implements PageVo.ConvertVo{
    /**
     * 主键，自增
     */
    @ApiModelProperty(value = "主键，存储箱id", required = true, example = "1")
    @NotNull(message = "ID不能为空")
    private Long id;
    /**
     * 存储箱号
     */
    @Excel(name = "存储箱号")
    @ApiModelProperty(value = "存储箱号", example = "存储箱号")
    private String code;
    /**
     * 存储箱状态
     */
    @Excel(name = "存储箱状态")
    @ApiModelProperty(value = "存储箱状态,0初始化，1损坏", example = "0")
    private Long status;
    /**
     * 当前完成工序
     */
    @Excel(name = "当前完成工序")
    @ApiModelProperty(value = "当前完成工序", example = "当前完成工序")
    private String inprocessCode;
    /**
     * 下一个工序
     */
    @Excel(name = "存储箱号")
    @ApiModelProperty(value = "下一个工序", example = "下一个工序")
    private String nextprocessCode;
    /**
     * 当前库位
     */
    @Excel(name = "当前库位")
    @ApiModelProperty(value = "当前库位", example = "当前库位")
    private String currentLocation;
    /**
     * 存放时间
     */
    @Excel(name = "存放时间")
    @ApiModelProperty(value = "存放时间", example = "存放时间")
    private String storeTime;
    /**
     * 工单名
     */
    @Excel(name = "工单名")
    @ApiModelProperty(value = "工单名", example = "工单名")
    private String orderName;
    /**
     * 唯一标识
     */
    @Excel(name = "唯一标识")
    @ApiModelProperty(value = "唯一标识", example = "唯一标识")
    private String locationStorageSubID;
}
